package com.huaxiafinance.management.dto.request;

import com.huaxiafinance.management.model.PartnerCondition;
import org.hibernate.validator.constraints.NotBlank;

import java.util.Date;
import java.util.List;

/**
 * Created by win7 on 2017/12/5.
 */
public class PartnerGradeDto {

    @NotBlank(message = "请填写等级名称")
    private String gradeName;

    private Integer id;

    //private Integer gradeSequence;

    private Integer isAllCondition;

    private Integer isEnable;

    private Integer creatorId;

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIsAllCondition() {
        return isAllCondition;
    }

    public void setIsAllCondition(Integer isAllCondition) {
        this.isAllCondition = isAllCondition;
    }

    public Integer getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }

    public Integer getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }

    public Integer getModifierId() {
        return modifierId;
    }

    public void setModifierId(Integer modifierId) {
        this.modifierId = modifierId;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }


    private Integer modifierId;

    private Date gmtCreate;

    private Date gmtModified;

    private List<PartnerCondition> strconditionList;

    public List<PartnerCondition> getStrconditionList() {
        return strconditionList;
    }

    public void setStrconditionList(List<PartnerCondition> strconditionList) {
        this.strconditionList = strconditionList;
    }

    @Override
    public String toString() {
        return "PartnerGradeDto{" +
                "gradeName='" + gradeName + '\'' +
                ", id=" + id +
                ", isAllCondition=" + isAllCondition +
                ", isEnable=" + isEnable +
                ", creatorId=" + creatorId +
                ", modifierId=" + modifierId +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                ", strconditionList='" + strconditionList + '\'' +
                '}';
    }
}
